Int Range
class IntRange(start: Int, endInclusive: Int) : IntProgression, ClosedRange<Int>
Content copied to clipboard
A range of values of type Int
.
Constructors
Types
Functions
Properties
Extensions
random Or Null
Link copied to clipboard
Returns a random element from this range, or null
if this range is empty.
Returns a random element from this range using the specified source of randomness, or null
if this range is empty.